package com.coderman.common.model.system;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_image")
public class ImageAttachment implements Serializable {

	private static final long serialVersionUID = 318500931861397503L;

	@Id
	private Long id;

	private String path;

	private Long size;

	private String mediaType;

	private String suffix;

	private Integer height;

	private Integer width;

	private Date createTime;

}
